runtime.activeSweep.state (field)
11 uses
runtime (current package)
mgc.go#L182: sweep.active.state.Store(sweepDrainedMask)
mgcsweep.go#L135: state atomic.Uint32
mgcsweep.go#L150: state := a.state.Load()
mgcsweep.go#L154: if a.state.CompareAndSwap(state, state+1) {
mgcsweep.go#L167: state := a.state.Load()
mgcsweep.go#L171: if a.state.CompareAndSwap(state, state-1) {
mgcsweep.go#L192: state := a.state.Load()
mgcsweep.go#L196: if a.state.CompareAndSwap(state, state|sweepDrainedMask) {
mgcsweep.go#L204: return a.state.Load() &^ sweepDrainedMask
mgcsweep.go#L211: return a.state.Load() == sweepDrainedMask
mgcsweep.go#L219: a.state.Store(0)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)